﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataLayer.Entities
{
    public class User
    {
        public virtual int? UserId { get; set; }
        public virtual Role Role { get; set; }
        public virtual string Username { get; set; }
        public virtual string Password { get; set; }
        public virtual string Email { get; set; }
        public virtual string Name { get; set; }
        public virtual DateTime CreatedDate { get; set; }
        public virtual DateTime ModifiedDate { get; set; }
        public virtual bool IsActive { get; set; }
        public virtual string ActivationKey { get; set; }
        public virtual bool ApprovedByAdmin { get; set; }
        public virtual bool PrefersRandom { get; set; }
    }
}
